﻿//----------------------------------------------------------------
// Copyright (c) 2011-2013 
// All rights reserved.
// Author: Ben DaoWei 
// Contact: bendaowei@gmail.com
// Web Link: http://xnaeditor.codeplex.com
// ----------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UnityEngine.Graphics
{
    public class PaletteRendererContainer : IDisposable
    {
        public virtual PaletteRenderer GetPaletteRenderer(string name)
        {
            return null;
        }

        ~PaletteRendererContainer()
        {
            this.Dispose(false);
        }

        public void Dispose()
        {
            this.Dispose(true);
            GC.SuppressFinalize(this);
        }

        protected virtual void Dispose(bool disposing)
        {
            // do nohting
        }
    }
}
